body { margin: 0; font-family: "Microsoft YaHei", sans-serif; background-color: #f1f1f1; }
.topbar {
    background-color: #1a1a1a;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}
.logo {
    font-size: 24px;
    font-weight: bold;
    color: orange;
    margin-right: 30px;
}
.nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}
.nav a:hover {
    text-decoration: underline;
}
.search-box {
    margin-left: auto;
}
.search-box input {
    padding: 5px;
}
.container {
    padding: 20px;
}
.user-info {
    margin-left: auto;
    display: flex;
    align-items: center;
}
.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 8px;
}
.username {
    color: white;
    margin-right: 10px;
}
.login-link, .logout-link {
    color: white;
    text-decoration: none;
    margin-left: 10px;
}
.login-link:hover, .logout-link:hover {
    text-decoration: underline;
}
